<template>
  <h3>子组件</h3>
  <button @click="">向父组件传值</button>
</template>
<script setup>
import { ref, defineEmits } from "vue";
const emit = defineEmits(["getData"]);
</script>
